python 判斷回文字符串的方法 # -*- coding:utf-8 -*- # palindrome str : 回文字符串:一個字符串,不論是從左往右,還是從右往左,字符的順序都是一樣的(如abba,等) def i ...